// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------


import CustomerView from '@/views/customer/CustomerView.vue'
import Layout from '@/layout/index.vue'

const customerRouter = {

  path: '/customer',
  component: Layout,
  redirect: '/customer/list',
  name: 'customer',
  meta: {
    title: '客户管理',
    icon: 'clipboard'
  },
  children:[
    {
      path: "list",
      component: ()=> import('@/views/customer/CustomerView.vue'),
      meta: {
        title: '客户列表'
      },
      name:"list",
    }
    /* {
      path: "insertAndUpdateCustomerView",
      name:"insertAndUpdateCustomerView",
      component: ()=> import('@/views/customer/components/InsertAndUpdateCustomerView.vue')
    },
    {
      path: "customerDetails",
      name:"customerDetails",
      component: ()=> import('@/views/customer/components/CustomerDetails.vue')
    } */

  ]

}

export default customerRouter
